package com.tlgen.Service;


import com.tlgen.Dao.PdfThreeDal;
import com.tlgen.Util.MsgUtils;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class PdfThreeService {
    @Resource
    PdfThreeDal pdfThreeDal;
    /**
     * 上传执法者签名
     */
    public String UpdateCheck(String CHECKE_SIGH, Integer RecordId) {
        String responseText="";
        int flag = pdfThreeDal.UpdateCheck(CHECKE_SIGH, RecordId);
        if (flag > 0) {
            responseText = MsgUtils.successMsg();
        }
        else {
            responseText = MsgUtils.errorMsg("网络繁忙，请稍后再试...");
        }
        return responseText;
    }









}
